package nayasis.common.db.manager.sql;

import java.util.List;

import nayasis.common.db.manager.sql.condition.NodeParser;
import nayasis.common.db.manager.sql.condition.node.Node;

import org.junit.Test;

public class IfTest {

    NodeParser parser = new NodeParser(); 
    
    @Test
    public void condition() {
        
        String testCondition = "( :name eq '1' ) and (:name lt (2.1) )";
        
        List<Node> nodes = parser.parse( testCondition );
        
        System.out.println(  parser.getString(nodes) );
        
    }

    
}
